﻿<%@ Page Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true" CodeFile="StatusReg.aspx.cs" Inherits="StatusReg" Title="Untitled Page" %>

<%@ Register Src="Menu_Slide.ascx" TagName="Menu_Slide" TagPrefix="uc1" %>
<%@ Register Src="Menu_Left.ascx" TagName="Menu_Left" TagPrefix="uc2" %>
<%@ Register Src="Service_.ascx" TagName="Service_" TagPrefix="uc3" %>
<%@ Register Src="Log_in.ascx" TagName="Log_in" TagPrefix="uc4" %>
<%@ Register Src="Log_out.ascx" TagName="Log_out" TagPrefix="uc5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Menu_Slide" runat="Server">
    <uc1:Menu_Slide ID="Menu_Slide1" runat="Server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Services" runat="Server">
    <uc3:Service_ ID="Service_1" runat="server" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Menu_Left" runat="Server">
    <uc2:Menu_Left ID="Menu_Left1" runat="server" />
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="Main_Containt" runat="Server">
    <div id="main_right">
        <div class="title_right">
            STATUS
        </div>
        <div class="content_right">
            <asp:Label ID="lblError" class="lbl_error" runat="server" Text=""></asp:Label>
            <br />
            <br />
            <div class="span_label" style="margin-left: 30px;"></div>
            <div class="span_label" style="margin-left: 30px;">
                Name of Status</div>
            <div class="text_bds">
                <asp:TextBox ID="txtNameofStatus" class="txt_input" runat="server"></asp:TextBox>
            </div>
            <br clear="all" />
            <div class="line_blue">
            </div>
            <p align="right">
                <asp:Button ID="btnAdd" class="btnSignIn" runat="server" Text="Add" OnClick="btnAdd_Click" />
                <asp:Button ID="btnSave" class="btnSignIn" runat="server" Text="Save" OnClick="btnSave_Click" />
            </p>
            <h3 align="left">
                List of Status</h3>
            <div style="width: 100%;">
                <asp:GridView ID="grdListStatus" runat="server" CellPadding="4" HorizontalAlign="Center" Width="70%" 
                    GridLines="None" ForeColor="#333333" 
                    onrowcommand="grdListStatus_RowCommand" 
                    onrowdeleting="grdListStatus_RowDeleting" 
                    onrowediting="grdListStatus_RowEditing" >
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>
                        <asp:CommandField HeaderText="Delete" ShowDeleteButton="True" 
                            ButtonType="Image" DeleteImageUrl="~/images/delete.png" />
                        <asp:CommandField HeaderText="Edit" ShowEditButton="True" ButtonType="Image" 
                            EditImageUrl="~/images/edit.png" />
                    </Columns>
                    <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="Login_out_info" runat="Server">
    <uc4:Log_in ID="Log_in1" runat="server" />
    <uc5:Log_out ID="Log_out1" runat="server" />
</asp:Content>

